package com.share.device.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.device.domain.Cabinet;

/**
 * 充电宝柜机Service接口
 *
 * @author atguigu
 * @date 2025-06-24
 */
public interface CabinetService extends IService<Cabinet>
{

    /**
     * 查询充电宝柜机列表
     *
     * @param cabinet 充电宝柜机
     * @return 充电宝柜机集合
     */
    public List<Cabinet> selectCabinetList(Cabinet cabinet);

    int saveCabinet(Cabinet cabinet);

    int updateCabinet(Cabinet cabinet);

    int removeCabinet(List<Long> idList);

    List<Cabinet> searchNoUseList(String keyword);

    // 修改了返回值类型，添加必要的import语句即可
    Map<String, Object> getAllInfo(Long id);
    //根据柜机编号查询
    Cabinet getBtCabinetNo(String cabinetNo);
}
